package com.bishe.bishe.pojo;


import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "comment")
public class Comments implements Serializable {

    @Id
    private Integer commentId;
    private String commentContent;
    private Orders orders;
    private String commentState;

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public Orders getOrders() {
        return orders;
    }

    public void setOrders(Orders orders) {
        this.orders = orders;
    }

    public Comments() {
    }

    public String getCommentState() {
        return commentState;
    }

    public void setCommentState(String commentState) {
        this.commentState = commentState;
    }

    public Comments(Integer commentId, String commentContent, Orders orders, String commentState) {
        this.commentId = commentId;
        this.commentContent = commentContent;
        this.orders = orders;
        this.commentState = commentState;
    }
}
